﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Excell_On_Services.Models.LogOnModel>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Log On
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content" >
	    <div class="content_bg" >
		    <!--Phan register-->
		    <div class="content_bg_bott" >
			    <div class="cbb_login">
				    <h1>Log On</h1>
                   
                    <% using (Html.BeginForm()) { %>
                        <div class='warning_login'>
                            <%: Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
				        </div>
                        <table cellpadding="5" class="table_login">
					        <tr>
						        <td><%: Html.LabelFor(m => m.UserName) %></td>
						        <td>
                                    <%: Html.TextBoxFor(m => m.UserName, new { @class = "control_input" })%>
                                    <%: Html.ValidationMessageFor(m => m.UserName) %>
                                </td>
					        </tr>
					        <tr>
						        <td><%: Html.LabelFor(m => m.Password) %></td>
						        <td>
                                    <%: Html.PasswordFor(m => m.Password, new { @class = "control_input" })%>
                                    <%: Html.ValidationMessageFor(m => m.Password) %>
                                </td>
					        </tr>
					        <tr>
						        <td>&nbsp;</td>
						        <td>
                                    <%: Html.CheckBoxFor(m => m.RememberMe) %>&nbsp;&nbsp;<%: Html.LabelFor(m => m.RememberMe) %></td>
					        </tr>
					        <tr>
						        <td>&nbsp;</td>
						        <td align="left">
							        <input type="submit" class="button_user"  value="Log On"/><%: Html.ActionLink("Register Account", "Register") %>
						       
                                </td>
					        </tr>
				        </table>
                    <% } %>
			    </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</asp:Content>
